







{include file="public:header"/}

{include file="public:sidemenu"/}


<div class="content-page">
    <!-- Start content -->
    <div class="content">
        <div class="card-box">
            <!-- Row start -->
            <div class="am-g">
                <div class="am-u-sm-12 am-u-md-6">
                    <div class="am-btn-toolbar">
                        <div class="am-btn-group am-btn-group-xs">

                        </div>
                    </div>
                </div>

                <div class="am-u-sm-12 am-u-md-3">
                    <button type="button" ><a href="{:url('activity/jiekou')}">查看</a></button>
                </div>
                
                <div class="am-u-sm-12 am-u-md-3">
                    <form class="am-form" data-am-validator method="POST" action="{:url('pay/search')}" enctype="multipart/form-data">
                        <div class="am-input-group am-input-group-sm">

                            <div class="form-group">

                                <div class="col-md-10 col-xs-10">
                                    <input type="text"  name="key" class="am-form-field">
                                </div>
                            </div>
                            <span  class="am-input-group-btn">
                        <button type="submit">搜索</button>
                        </span>
                        </div>
                    </form>
                </div>
            </div>
            <!-- Row end -->

            <!-- Row start -->
            <div class="am-g">
                <div class="am-u-sm-12">
                    <form class="am-form">
                        <table class="am-table am-table-striped am-table-hover table-main">
                            <thead>
                            <tr>
                                <th class="table-id">ID</th><th class="table-title">订单类型</th><th class="table-type">用户名称</th><th class="table-author am-hide-sm-only">培训id</th><th class="table-date am-hide-sm-only">活动id</th><th class="table-date am-hide-sm-only">俱乐部课程id</th><th class="table-title">最近比赛id</th><th class="table-title">下单时间</th><th class="table-set">操作</th>
                            </tr>
                            </thead>
                            <tbody>
                                  {volist name="pay" id="vo"}
                                                <tr>
                                                    <td>{$vo.y_id}</td>
                                                    <td>{$vo.y_type}</td>
                                                    <td>{$vo.u_name}</td>
                                                    <td>{$vo.p_id}</td>
                                                    <td>{$vo.ac_id}</td>
                                                    <td>{$vo.cc_id}</td>
                                                    <td>{$vo.co_id}</td>
                                                    <td>{$vo.y_time}</td>
                                                    <td>
                                                        <div class="am-btn-toolbar">
                                                            <div class="am-btn-group am-btn-group-xs">

                                                                <button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only"><span class="am-icon-trash-o"></span> <a href="{:url('admin/Pay/delete',['id'=>$vo.y_id])}">删除</a></button>
                                                            </div>
                                                        </div>
                                                    </td>
                                                </tr>
                                                {/volist}
                                                </tbody>
                                            </table>
                                            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>


                                        </article>
                           </form>
                                    </div>

                            </tbody>
                        </table>

                        <div class="am-cf">

                            <div class="am-fr">
                                <ul class="am-pagination">
                                   <!-- <li class="am-disabled"><a href="#">«</a></li>
                                    <li class="am-active"><a href="#">1</a></li>
                                    <li><a href="#">2</a></li>
                                    <li><a href="#">3</a></li>
                                    <li><a href="#">4</a></li>
                                    <li><a href="#">5</a></li>
                                    <li><a href="#">»</a></li>-->
                                </ul>
                            </div>
                        </div>
                        <hr />


                </div>

            </div>











{include file="public:footer"/}